﻿<!doctype html>
<html>
<head>
    <meta charset="utf-8" />
	<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no" />
    <title>hhframe TempWin 1.0</title>
    
    <link rel="stylesheet" href="hhframe.min.css" />
</head>
<body>
    
    <div class="framepage homepage">
    
      <!-- header -->
      <div class="header">
        <h1 class="hd-title">hhframe</h1>
        <a class="pos-l icon hd-return">返回</a>
      </div>
      
      <!-- wrapper -->
      <div class="wrapper">
        
      </div>
      
      <!-- footer -->
      <!--
      <div class="footer">
        <ul class="flexbox nav">
        <li onclick="open_menu(1)">首页</li>
        <li onclick="open_menu(2)">界面</li>
        <li onclick="open_menu(3)">组件</li>
        <li onclick="open_menu(4)">更多</li>
        </ul>
      </div>
      -->
      
    </div>
    
    <script src="../jquery.js"></script>
    <script src="hhframe.min.js"></script>
    <script>
    	window.addEventListener("apiready",function(){
    		
    		url = api.pageParam.url;
    		title = api.pageParam.title;
    		
    		$(".hd-title").text(title);
    		
    		api.openFrame({
	            name: "tempframe",
	            url: url,
	            rect: {
		            marginTop: head_h,
		            marginBottom: 0
	            },
	            bounces: true
            });
            
    	});
    </script>
    
</body>
</html>